package com.financing.wap.service;


import java.math.BigDecimal;
import java.sql.SQLException;
import java.util.List;

import com.financing.wap.dto.DstUserWithdrawLogDTO;
/**
 * dst_user_withdraw_log  
 * 提现积分兑换记录 业务访问层接口
 * @author huqiyun
 *
 */
public interface IDstUserWithdrawLogService {

 	public int insert(DstUserWithdrawLogDTO dstUserWithdrawLog) throws SQLException;
    
    public void update(DstUserWithdrawLogDTO dstUserWithdrawLog) throws SQLException;
   
    public void updateForce(DstUserWithdrawLogDTO dstUserWithdrawLog) throws SQLException;
   
    public void delete(Integer id) throws SQLException;
	
    public List<DstUserWithdrawLogDTO> queryList(DstUserWithdrawLogDTO dstUserWithdrawLog)throws SQLException;
    
    public int queryListCount(DstUserWithdrawLogDTO dstUserWithdrawLog) throws SQLException;
   
    public DstUserWithdrawLogDTO loadById(Integer id) throws SQLException;
    
    public DstUserWithdrawLogDTO queryListGetFirst(DstUserWithdrawLogDTO dstUserWithdrawLog)throws SQLException;

 	public boolean userWithdraw(String userOpenId,BigDecimal amount) 
			throws  Exception ;
}
